package com.zmn.oms.common.dio.normal.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 类描述：用户等待订单查询
 *
 * @author ligang
 * @since 2022/07/14 14:42
 */
@Data
@ToString()
@ApiModel("用户等待工单查询")
public class OrderUserWaitDIO implements Serializable {

    private static final long serialVersionUID = 680246253084987110L;

    /**
     * 订单Id
     */
    @ApiModelProperty(value = "订单Id", required = true)
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 工单Id
     */
    @ApiModelProperty(value = "工单Id", required = true)
    @NotNull(message = "工单ID不能为空")
    private Long workId;

    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间", required = true)
    @NotNull(message = "预约时间不能为空")
    private Date dutyTime;

    /**
     * 工程师id
     */
    @ApiModelProperty(value = "工程师id", required = true)
    @NotNull(message = "工程师ID不能为空")
    private Integer engineerId;
}
